package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * 选项表option
 *
 * @author youshengfeng
 * @date 2022/2/20 上午 12:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "option")
public class Option implements java.io.Serializable {
    //主键id
    private ObjectId id;
    //试题id
    private ObjectId questionId;
    //选项内容
    private String option;
    //分数
    private Integer score;
    //创建时间
    private Long created;

}
